Alternative operator representations

From Cppreference

Jump to: navigation, search

There are alternative spellings for several operators defined as keywords in the C++ standard.

Primary Alternative
&& and
&= and_eq
& bitand
| bitor
~ compl
! not
!= not_eq
|| or
|= or_eq
^ xor
^= xor_eq

[edit] Keywords

and, and_eq, bitand, bitor, compl, not, not_eq, or, or_eq, xor, xor_eq

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages